﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Purchasing;
using Shipping;
using System.ServiceModel;

namespace TestHost
{
    class Program
    {
        static void Main(string[] args)
        {
            var mchost = new ServiceHost(typeof(PurchasingService));
            var dchost = new ServiceHost(typeof(ShippingService));
            mchost.Open();
            dchost.Open();
            Console.ReadLine();
            mchost.Close();
            dchost.Close();
        }

    }
}
